package cn.hpu.mobile_bank.service;

import cn.hpu.mobile_bank.domain.Recipient;
import cn.hpu.mobile_bank.dto.req.AddOrUpdateRecipientReq;
import cn.hpu.mobile_bank.dto.resp.ApiResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author DELL
* @description 针对表【recipient】的数据库操作Service
* @createDate 2024-06-19 15:14:37
*/
public interface RecipientService extends IService<Recipient> {

    ApiResult<List<Recipient>> listByTel();

    ApiResult<String> addRecipient(AddOrUpdateRecipientReq addOrUpdateRecipientReq);

    ApiResult<String> updateRecipient(AddOrUpdateRecipientReq addOrUpdateRecipientReq);
}
